home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / develop™ Technical Journal / develop Issue 29 code / Newton_Web_Server.sit / Newton Web Server / nHTTPd ƒ / Private Definitions < prev    next >
MacBinary  |  1996-10-20  |  2.4 KB  |  [TEXT/NTP1]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Sun Oct 20 19:47:03 1996, modified Sun Oct 20 19:47:03 1996, creator 'NTP1', type ASCII, 1647 bytes "Private Definitions" , at 0x6ef 576 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[NTP1]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 13 50 72 69 76 61 74 | 65 20 44 65 66 69 6e 69 |..Privat|e Defini|
|00000010| 74 69 6f 6e 73 00 00 00 | 00 00 00 00 00 00 00 00 |tions...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4e 54 50 | 31 01 00 00 00 00 00 00 |.TEXTNTP|1.......|
|00000050| 00 00 00 00 00 06 6f 00 | 00 02 40 ae 90 6a 77 ae |......o.|..@..jw.|
|00000060| 90 6a 77 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.jw.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 93 0f 00 00 |........|........|
|00000080| 2f 2a 0d 20 a9 ca 31 39 | 39 36 20 52 61 79 20 52 |/*. ..19|96 Ray R|
|00000090| 69 73 63 68 70 61 74 65 | 72 0d 20 41 6c 6c 20 52 |ischpate|r. All R|
|000000a0| 69 67 68 74 73 20 52 65 | 73 65 72 76 65 64 2e 0d |ights Re|served..|
|000000b0| 20 64 6f 76 65 40 6c 6f | 74 68 6c 6f 72 69 65 6e | dove@lo|thlorien|
|000000c0| 2e 63 6f 6d 0d 20 54 68 | 69 73 20 70 72 6f 67 72 |.com. Th|is progr|
|000000d0| 61 6d 20 69 73 20 66 72 | 65 65 20 73 6f 66 74 77 |am is fr|ee softw|
|000000e0| 61 72 65 3b 20 79 6f 75 | 20 63 61 6e 20 72 65 64 |are; you| can red|
|000000f0| 69 73 74 72 69 62 75 74 | 65 20 69 74 20 61 6e 64 |istribut|e it and|
|00000100| 2f 6f 72 0d 20 6d 6f 64 | 69 66 79 20 69 74 20 75 |/or. mod|ify it u|
|00000110| 6e 64 65 72 20 74 68 65 | 20 74 65 72 6d 73 20 6f |nder the| terms o|
|00000120| 66 20 74 68 65 20 47 4e | 55 20 47 65 6e 65 72 61 |f the GN|U Genera|
|00000130| 6c 20 50 75 62 6c 69 63 | 20 4c 69 63 65 6e 73 65 |l Public| License|
|00000140| 20 0d 20 61 73 20 70 75 | 62 6c 69 73 68 65 64 20 | . as pu|blished |
|00000150| 62 79 20 74 68 65 20 46 | 72 65 65 20 53 6f 66 74 |by the F|ree Soft|
|00000160| 77 61 72 65 20 46 6f 75 | 6e 64 61 74 69 6f 6e 3b |ware Fou|ndation;|
|00000170| 20 65 69 74 68 65 72 20 | 0d 20 76 65 72 73 69 6f | either |. versio|
|00000180| 6e 20 32 20 6f 66 20 74 | 68 65 20 4c 69 63 65 6e |n 2 of t|he Licen|
|00000190| 73 65 2c 20 6f 72 20 28 | 61 74 20 79 6f 75 72 20 |se, or (|at your |
|000001a0| 6f 70 74 69 6f 6e 29 20 | 61 6e 79 20 6c 61 74 65 |option) |any late|
|000001b0| 72 20 0d 20 76 65 72 73 | 69 6f 6e 2e 0d 20 0d 20 |r . vers|ion.. . |
|000001c0| 54 68 69 73 20 70 72 6f | 67 72 61 6d 20 69 73 20 |This pro|gram is |
|000001d0| 64 69 73 74 72 69 62 75 | 74 65 64 20 69 6e 20 74 |distribu|ted in t|
|000001e0| 68 65 20 68 6f 70 65 20 | 74 68 61 74 20 69 74 20 |he hope |that it |
|000001f0| 77 69 6c 6c 20 62 65 20 | 75 73 65 66 75 6c 2c 0d |will be |useful,.|
|00000200| 20 62 75 74 20 57 49 54 | 48 4f 55 54 20 41 4e 59 | but WIT|HOUT ANY|
|00000210| 20 57 41 52 52 41 4e 54 | 59 3b 20 77 69 74 68 6f | WARRANT|Y; witho|
|00000220| 75 74 20 65 76 65 6e 20 | 74 68 65 20 69 6d 70 6c |ut even |the impl|
|00000230| 69 65 64 20 77 61 72 72 | 61 6e 74 79 20 6f 66 0d |ied warr|anty of.|
|00000240| 20 4d 45 52 43 48 41 4e | 54 41 42 49 4c 49 54 59 | MERCHAN|TABILITY|
|00000250| 20 6f 72 20 46 49 54 4e | 45 53 53 20 46 4f 52 20 | or FITN|ESS FOR |
|00000260| 41 20 50 41 52 54 49 43 | 55 4c 41 52 20 50 55 52 |A PARTIC|ULAR PUR|
|00000270| 50 4f 53 45 2e 20 53 65 | 65 20 74 68 65 0d 20 47 |POSE. Se|e the. G|
|00000280| 4e 55 20 47 65 6e 65 72 | 61 6c 20 50 75 62 6c 69 |NU Gener|al Publi|
|00000290| 63 20 4c 69 63 65 6e 73 | 65 20 66 6f 72 20 6d 6f |c Licens|e for mo|
|000002a0| 72 65 20 64 65 74 61 69 | 6c 73 2e 0d 20 59 6f 75 |re detai|ls.. You|
|000002b0| 20 73 68 6f 75 6c 64 20 | 68 61 76 65 20 72 65 63 | should |have rec|
|000002c0| 65 69 76 65 64 20 61 20 | 63 6f 70 79 20 6f 66 20 |eived a |copy of |
|000002d0| 74 68 65 20 47 4e 55 20 | 47 65 6e 65 72 61 6c 20 |the GNU |General |
|000002e0| 50 75 62 6c 69 63 20 0d | 20 4c 69 63 65 6e 73 65 |Public .| License|
|000002f0| 20 61 6c 6f 6e 67 20 77 | 69 74 68 20 74 68 69 73 | along w|ith this|
|00000300| 20 70 72 6f 67 72 61 6d | 3b 20 69 66 20 6e 6f 74 | program|; if not|
|00000310| 2c 20 77 72 69 74 65 20 | 74 6f 20 74 68 65 20 46 |, write |to the F|
|00000320| 72 65 65 20 0d 20 53 6f | 66 74 77 61 72 65 20 46 |ree . So|ftware F|
|00000330| 6f 75 6e 64 61 74 69 6f | 6e 2c 20 49 6e 63 2e 2c |oundatio|n, Inc.,|
|00000340| 20 36 37 35 20 4d 61 73 | 73 20 41 76 65 2c 20 43 | 675 Mas|s Ave, C|
|00000350| 61 6d 62 72 69 64 67 65 | 2c 20 4d 41 20 30 32 31 |ambridge|, MA 021|
|00000360| 33 39 2c 20 0d 20 55 53 | 41 2e 20 0d 20 0d 2a 2f |39, . US|A. . .*/|
|00000370| 0d 09 0d 4f 70 65 6e 52 | 65 73 46 69 6c 65 28 22 |...OpenR|esFile("|
|00000380| 52 65 73 6f 75 72 63 65 | 73 22 29 3b 0d 44 65 66 |Resource|s");.Def|
|00000390| 69 6e 65 47 6c 6f 62 61 | 6c 43 6f 6e 73 74 61 6e |ineGloba|lConstan|
|000003a0| 74 28 27 6b 41 70 70 49 | 63 6f 6e 2c 20 47 65 74 |t('kAppI|con, Get|
|000003b0| 50 69 63 74 41 73 42 69 | 74 73 28 22 49 63 6f 6e |PictAsBi|ts("Icon|
|000003c0| 22 2c 20 6e 69 6c 29 29 | 3b 0d 43 6c 6f 73 65 52 |", nil))|;.CloseR|
|000003d0| 65 73 46 69 6c 65 28 29 | 3b 0d 0d 44 65 66 69 6e |esFile()|;..Defin|
|000003e0| 65 47 6c 6f 62 61 6c 43 | 6f 6e 73 74 61 6e 74 28 |eGlobalC|onstant(|
|000003f0| 27 6b 47 65 74 49 50 41 | 64 64 72 65 73 73 4f 70 |'kGetIPA|ddressOp|
|00000400| 74 69 6f 6e 2c 0d 09 7b | 0d 09 09 6c 61 62 65 6c |tion,..{|...label|
|00000410| 3a 20 22 69 70 72 66 22 | 2c 0d 09 09 74 79 70 65 |: "iprf"|,...type|
|00000420| 3a 20 27 6f 70 74 69 6f | 6e 2c 0d 09 09 6f 70 43 |: 'optio|n,...opC|
|00000430| 6f 64 65 3a 20 6f 70 47 | 65 74 43 75 72 72 65 6e |ode: opG|etCurren|
|00000440| 74 2c 0d 09 09 64 61 74 | 61 3a 0d 09 09 7b 0d 09 |t,...dat|a:...{..|
|00000450| 09 09 61 72 67 4c 69 73 | 74 3a 0d 09 09 09 5b 0d |..argLis|t:....[.|
|00000460| 09 09 09 09 5b 30 2c 30 | 2c 30 2c 30 5d 2c 09 2f |....[0,0|,0,0],./|
|00000470| 2f 20 6c 6f 63 61 6c 0d | 09 09 09 09 5b 30 2c 30 |/ local.|....[0,0|
|00000480| 2c 30 2c 30 5d 2c 09 2f | 2f 20 67 61 74 65 77 61 |,0,0],./|/ gatewa|
|00000490| 79 0d 09 09 09 5d 2c 0d | 09 09 09 74 79 70 65 4c |y....],.|...typeL|
|000004a0| 69 73 74 3a 0d 09 09 09 | 5b 0d 09 09 09 09 27 73 |ist:....|[.....'s|
|000004b0| 74 72 75 63 74 2c 0d 09 | 09 09 09 5b 27 61 72 72 |truct,..|...['arr|
|000004c0| 61 79 2c 20 27 62 79 74 | 65 2c 20 34 5d 2c 0d 09 |ay, 'byt|e, 4],..|
|000004d0| 09 09 09 5b 27 61 72 72 | 61 79 2c 20 27 62 79 74 |...['arr|ay, 'byt|
|000004e0| 65 2c 20 34 5d 2c 0d 09 | 09 09 5d 2c 0d 09 09 7d |e, 4],..|..],...}|
|000004f0| 2c 0d 09 7d 29 3b 0d 0d | 44 65 66 69 6e 65 47 6c |,..});..|DefineGl|
|00000500| 6f 62 61 6c 43 6f 6e 73 | 74 61 6e 74 28 27 6b 47 |obalCons|tant('kG|
|00000510| 65 6e 65 72 69 63 48 54 | 54 50 46 69 6c 65 45 72 |enericHT|TPFileEr|
|00000520| 72 6f 72 53 74 72 69 6e | 67 2c 0d 09 22 3c 48 31 |rorStrin|g,.."<H1|
|00000530| 3e 46 69 6c 65 20 6e 6f | 74 20 66 6f 75 6e 64 3c |>File no|t found<|
|00000540| 2f 48 31 3e 22 20 26 20 | 75 6e 69 63 6f 64 65 4c |/H1>" & |unicodeL|
|00000550| 46 20 26 20 0d 09 22 54 | 68 65 20 64 6f 63 75 6d |F & .."T|he docum|
|00000560| 65 6e 74 20 79 6f 75 20 | 72 65 71 75 65 73 74 65 |ent you |requeste|
|00000570| 64 20 63 6f 75 6c 64 20 | 6e 6f 74 20 62 65 20 66 |d could |not be f|
|00000580| 6f 75 6e 64 20 6f 6e 20 | 74 68 69 73 20 73 65 72 |ound on |this ser|
|00000590| 76 65 72 2e 22 29 3b 0d | 09 0d 44 65 66 69 6e 65 |ver.");.|..Define|
|000005a0| 47 6c 6f 62 61 6c 43 6f | 6e 73 74 61 6e 74 28 27 |GlobalCo|nstant('|
|000005b0| 6b 47 65 6e 65 72 69 63 | 48 54 54 50 50 72 6f 74 |kGeneric|HTTPProt|
|000005c0| 6f 45 72 72 6f 72 53 74 | 72 69 6e 67 2c 0d 09 22 |oErrorSt|ring,.."|
|000005d0| 3c 48 31 3e 49 6e 76 61 | 6c 69 64 20 52 65 71 75 |<H1>Inva|lid Requ|
|000005e0| 65 73 74 3c 2f 48 31 3e | 22 20 26 20 75 6e 69 63 |est</H1>|" & unic|
|000005f0| 6f 64 65 4c 46 20 26 20 | 0d 09 22 54 68 69 73 20 |odeLF & |.."This |
|00000600| 73 65 72 76 65 72 20 6f | 6e 6c 79 20 73 75 70 70 |server o|nly supp|
|00000610| 6f 72 74 73 20 74 68 65 | 20 3c 54 54 3e 47 45 54 |orts the| <TT>GET|
|00000620| 3c 2f 54 54 3e 20 63 6f | 6d 6d 61 6e 64 2e 22 29 |</TT> co|mmand.")|
|00000630| 3b 0d 09 0d 44 65 66 69 | 6e 65 47 6c 6f 62 61 6c |;...Defi|neGlobal|
|00000640| 43 6f 6e 73 74 61 6e 74 | 28 27 6b 47 65 6e 65 72 |Constant|('kGener|
|00000650| 69 63 48 54 54 50 54 72 | 61 6e 73 45 72 72 6f 72 |icHTTPTr|ansError|
|00000660| 53 74 72 69 6e 67 2c 0d | 09 22 3c 48 31 3e 46 69 |String,.|."<H1>Fi|
|00000670| 6c 65 20 6e 6f 74 20 66 | 6f 75 6e 64 3c 2f 48 31 |le not f|ound</H1|
|00000680| 3e 22 20 26 20 75 6e 69 | 63 6f 64 65 4c 46 20 26 |>" & uni|codeLF &|
|00000690| 20 0d 09 22 54 68 65 20 | 64 6f 63 75 6d 65 6e 74 | .."The |document|
|000006a0| 20 79 6f 75 20 72 65 71 | 75 65 73 74 65 64 20 63 | you req|uested c|
|000006b0| 6f 75 6c 64 20 6e 6f 74 | 20 62 65 20 66 6f 75 6e |ould not| be foun|
|000006c0| 64 20 6f 6e 20 74 68 69 | 73 20 73 65 72 76 65 72 |d on thi|s server|
|000006d0| 20 64 75 65 20 74 6f 20 | 61 20 74 72 61 6e 73 6c | due to |a transl|
|000006e0| 61 74 6f 72 20 65 72 72 | 6f 72 2e 22 29 3b 0d 00 |ator err|or.");..|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000700| 00 00 01 00 00 00 01 af | 00 00 00 af 00 00 00 91 |........|........|
|00000710| 6c 00 66 00 2c 00 20 00 | 27 00 6d 00 43 00 6f 00 |l.f.,. .|'.m.C.o.|
|00000720| 6e 00 6e 00 65 00 63 00 | 74 00 53 00 6c 00 69 00 |n.n.e.c.|t.S.l.i.|
|00000730| 13 50 72 69 76 61 74 65 | 20 44 65 66 69 6e 69 74 |.Private| Definit|
|00000740| 69 6f 6e 73 02 00 00 00 | 54 45 58 54 4e 54 50 31 |ions....|TEXTNTP1|
|00000750| 00 00 54 45 58 54 4e 54 | 50 31 01 00 ff ff ff ff |..TEXTNT|P1......|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 ae 08 9a b4 00 00 | 06 6f 00 00 02 40 3b 00 |........|.o...@;.|
|00000780| 0d 00 09 00 2f 00 2a 00 | 0d 00 09 00 20 00 2a 00 |..../.*.|.... .*.|
|00000790| 20 00 53 00 74 00 61 00 | 73 00 68 00 20 00 61 00 | .S.t.a.|s.h. .a.|
|000007a0| 73 00 69 00 64 00 65 00 | 20 00 6f 00 75 00 72 00 |s.i.d.e.| .o.u.r.|
|000007b0| 20 00 63 00 61 00 6c 00 | 6c 00 62 00 61 00 63 00 | .c.a.l.|l.b.a.c.|
|000007c0| 6b 00 20 00 66 00 6f 00 | 72 00 20 00 66 00 75 00 |k. .f.o.|r. .f.u.|
|000007d0| 74 00 75 00 72 00 65 00 | 20 00 75 00 73 00 65 00 |t.u.r.e.| .u.s.e.|
|000007e0| 2e 00 0d 00 09 00 20 00 | 2a 00 20 00 57 00 65 00 |...... .|*. .W.e.|
|000007f0| 27 00 6c 00 6c 00 20 00 | 75 00 73 00 65 00 20 00 |'.l.l. .|u.s.e. .|
|00000800| 00 00 00 0f 0e 4e 65 77 | 74 6f 6e 20 54 6f 6f 6c |.....New|ton Tool|
|00000810| 6b 69 74 00 00 00 78 00 | 03 00 00 00 48 00 48 00 |kit...x.|....H.H.|
|00000820| 00 00 00 02 da 02 28 ff | e1 ff e2 02 f9 02 46 03 |......(.|......F.|
|00000830| 47 05 28 03 fc 00 02 00 | 00 00 48 00 48 00 00 00 |G.(.....|..H.H...|
|00000840| 00 02 da 02 28 00 01 00 | 00 00 64 00 00 00 01 00 |....(...|..d.....|
|00000850| 01 01 01 00 00 00 01 27 | 0f 00 01 00 01 00 00 00 |.......'|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 02 00 19 01 90 00 |........|........|
|00000870| 00 00 00 00 40 00 00 00 | 00 00 00 00 00 00 01 00 |....@...|........|
|00000880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000890| 00 00 10 00 00 00 39 00 | 00 00 dc 00 00 01 a1 00 |......9.|........|
|000008a0| 00 02 80 00 00 00 08 00 | 00 02 f0 00 00 00 00 00 |........|........|
|000008b0| 00 01 00 00 00 01 af 00 | 00 00 af 00 00 00 91 00 |........|........|
|000008c0| b0 9f 48 21 ca 00 00 00 | 1c 00 6e 00 03 53 54 52 |..H!....|..n..STR|
|000008d0| 20 00 00 00 22 50 52 4e | 54 00 00 00 2e 50 4a 53 | ..."PRN|T....PJS|
|000008e0| 54 00 00 00 3a 53 4c 43 | 54 00 00 00 46 bf f4 ff |T...:SLC|T...F...|
|000008f0| ff 00 00 00 00 00 b0 93 | a0 00 01 ff ff 00 00 00 |........|........|
|00000900| 13 00 b0 92 b8 27 0f 00 | 00 00 00 00 8f 00 b0 93 |.....'..|........|
|00000910| b8 27 0f 00 10 00 00 00 | a3 00 b0 93 ac 0f 57 69 |.'......|......Wi|
|00000920| 6e 64 6f 77 20 53 65 74 | 74 69 6e 67 73 12 53 65 |ndow Set|tings.Se|
|00000930| 6c 65 63 74 69 6f 6e 20 | 53 65 74 74 69 6e 67 73 |lection |Settings|
|00000940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+